{include file="common/_header-css"}
<body>
<div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">评分管理</a>
            <a>
              <cite>周期管理</cite></a>
          </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
        <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
</div>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                </div>

                <div class="layui-card-body ">
                    <table class="layui-table layui-form">
                        <thead>
                        <tr>
                            <th>评分人</th>
                            <th>被评分人</th>
                            <th>周期</th>
                            {if $type==1}
                            <th>出勤</th>
                            <th>个人仪表</th>
                            <th>礼貌与态度</th>
                            <th>工作技巧</th>
                            <th>工作效率</th>
                            <th>责任感</th>
                            <th>主动性</th>
                            <th>接受任务</th>
                            <th>沟通能力</th>
                            <th>应变能力</th>
                            <th>英语能力</th>
                            <th>个人潜能</th>
                            {else /}
                            <th>领导才能</th>
                            <th>分配任务</th>
                            <th>策划才能</th>
                            <th>决策才能</th>
                            <th>培训才能</th>
                            {/if}
                        </thead>
                        <tbody>
                        {volist name='list' id='vo'}
                        <tr>
                            <td>{$vo.local_name}</td>
                            <td>{$vo.foreign_name}</td>
                            <td>{$vo.describe}</td>
                            {if $type==1}
                            <td>{$vo.attendance}</td>
                            <td>{$vo.instrument}</td>
                            <td>{$vo.polite}</td>
                            <td>{$vo.skills}</td>
                            <td>{$vo.efficiency}</td>
                            <td>{$vo.responsibility}</td>
                            <td>{$vo.initiative}</td>
                            <td>{$vo.task}</td>
                            <td>{$vo.communication}</td>
                            <td>{$vo.strain}</td>
                            <td>{$vo.english}</td>
                            <td>{$vo.potential}</td>
                            {else /}
                            <td>{$vo.leadership}</td>
                            <td>{$vo.distribution}</td>
                            <td>{$vo.planning}</td>
                            <td>{$vo.strategy}</td>
                            <td>{$vo.training}</td>
                            {/if}
                        </tr>
                        {/volist}
                        </tbody>
                    </table>
                </div>
                <div class="layui-card-body">
                    <div class="page">
                        <div>
                            {$list|raw}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script>
    layui.use(['laydate','form'], function(){
        var laydate = layui.laydate;
        var form = layui.form;

        //执行一个laydate实例
        laydate.render({
            elem: '#start' //指定元素
        });

        //执行一个laydate实例
        laydate.render({
            elem: '#end' //指定元素
        });
    });
    function deleteLevel(obj,id){
        layer.confirm('确认要删除吗？',function(index){
            $.post('{:url(\'integral/cycle_del\')}',{id:id},function (res) {
                if (res.code == 200) {
                    $(obj).parents("tr").remove();
                    layer.msg(res.msg,{icon:1,time:1000});
                }else{
                    layer.msg(res.msg,{icon:5,time:500});
                }
            });
        });
    }
</script>


</html>